package com.sofwin.service.impl;

import com.sofwin.mapper.SysOperatorLogMapper;
import com.sofwin.pojo.SysOperatorLog;
import com.sofwin.pojo.SysOperatorLogWithBLOBs;
import com.sofwin.service.OperatorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @packageName: com.sofwin.service.impl
 * @user: andyliu
 * @date: 2023/5/19 16:09
 * @email 115176513@qq.com
 * @description: TODO
 */
@Service("operatorService")
public class OperatorServiceImpl implements OperatorService {
   @Autowired
   private SysOperatorLogMapper mapper;
    @Override
    public boolean saveOperator(SysOperatorLogWithBLOBs log) {
        return mapper.insertSelective(log)==1?true:false;
    }
}

